package com.api.shopapi.service;

import com.api.shopapi.entity.MedicationSchedulingNightItem;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface MedicationSchedulingNightItemService {

    int insert(MedicationSchedulingNightItem medicationSchedulingNightItem);

    int updateByMedicationSchedulingNightItemCode(MedicationSchedulingNightItem medicationSchedulingNightItem);

    int deleteByMedicationSchedulingNightItemCode(String medicationSchedulingNightItemCode);

    MedicationSchedulingNightItem getByMedicationSchedulingNightItemCode(String medicationSchedulingNightItemCode);

    List<MedicationSchedulingNightItem> getListByMedicationSchedulingNightCode(String medicationSchedulingNightCode);

    int deleteByMedicationSchedulingNightCode(String medicationSchedulingNightCode);
}
